const BASE_URL = "http://blogsapi.zhouziao.cn";
const IMG_URL = 'http://blogsimg.zhouziao.cn/image/';
const API = {
    ESSAY_GET: BASE_URL + '/essay/get_essay_up',
    ESSAY_GET_CLICK: BASE_URL + '/essay/get_essay',
    ESSAY_GET_TYPE: BASE_URL + '/essay/get_essay_type',
    ESSAY_GET_ALL: BASE_URL + '/essay/get_essay_all',
    TYPE_GET: BASE_URL + '/type/get_type',
    PROJECT_GET: BASE_URL + '/project/get_project_up',
    FIREND_GET: BASE_URL + '/firendlink/get_firendlink'
}
const NAV = [
    {
        field: '/',
        title: '首页'
    },
    {
        field: 'type',
        title: '分类'
    },
    {
        field: 'file',
        title: '归档'
    },
    {
        field: 'mine',
        title: '个人'
    }
]
const MINE_LINK = [
    {
        linkhref: 'https://blog.csdn.net/Yesterday_Tomorrow?spm=1001.2101.3001.5113',
        photoimg: `${IMG_URL}csdn.png`
    },
    {
        linkhref: 'https://gitee.com/ziaozhou',
        photoimg: `${IMG_URL}git2.png`
    }

]

const ESSAY_BANNER = `${IMG_URL}essaybanner.png`;

const MINE_BANNER = `${IMG_URL}minebgi.png`;

const MINE_PHOTO = `${IMG_URL}minephoto.png`;

const NAV_PHOTO = {
    mine: `${IMG_URL}minnav.png`,
    type: `${IMG_URL}typenav.png`,
    file: `${IMG_URL}filenav.png`,
    search: `${IMG_URL}searchnav.png`,
}

const MINE_SKILL = [
    { title: 'ECMAScript', photo: `${IMG_URL}stjs.png` },
    { title: 'HTML', photo: `${IMG_URL}sthtml.png` },
    { title: 'CSS', photo: `${IMG_URL}stcss.png` },
    { title: 'BOM', photo: `${IMG_URL}stbom.png` },
    { title: 'DOM', photo: `${IMG_URL}stdom.png` },
    { title: 'RegExp', photo: `${IMG_URL}stregexp.png` },
    { title: 'ES6', photo: `${IMG_URL}stes6.png` },
    { title: '网络', photo: `${IMG_URL}stnet.png` },
    { title: '项目', photo: `${IMG_URL}stproject.png` },
    { title: 'Vue', photo: `${IMG_URL}stvue.png` },
    { title: 'React', photo: `${IMG_URL}streact.png` },
]
const MINE_INFO = {
    nickname: '薄荷糖',
    qq: '812130200',
    email: 'zhouziao-cmd@foxmail.com',
    wx: 'AK47biubiubiu323',
    phone: '13669300583'
}
const SEARCH_ICON = `${IMG_URL}searchIcon.png`
export {
    BASE_URL,
    NAV,
    API,
    IMG_URL,
    MINE_LINK,
    ESSAY_BANNER,
    MINE_BANNER,
    MINE_PHOTO,
    NAV_PHOTO,
    MINE_SKILL,
    MINE_INFO,
    SEARCH_ICON
}